
package com.one.odf.model;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for newsRelatedType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="newsRelatedType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Athlete" type="{}athleteNewsType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element name="Coach" type="{}coachType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element name="Team" type="{}teamNewsType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "newsRelatedType", propOrder = {
    "athlete",
    "coach",
    "team"
})
public class NewsRelatedType {

    @XmlElement(name = "Athlete")
    protected List<AthleteNewsType> athlete;
    @XmlElement(name = "Coach")
    protected List<CoachType> coach;
    @XmlElement(name = "Team")
    protected List<TeamNewsType> team;

    /**
     * Gets the value of the athlete property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the athlete property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getAthlete().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link AthleteNewsType }
     * 
     * 
     */
    public List<AthleteNewsType> getAthlete() {
        if (athlete == null) {
            athlete = new ArrayList<AthleteNewsType>();
        }
        return this.athlete;
    }

    /**
     * Gets the value of the coach property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the coach property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getCoach().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link CoachType }
     * 
     * 
     */
    public List<CoachType> getCoach() {
        if (coach == null) {
            coach = new ArrayList<CoachType>();
        }
        return this.coach;
    }

    /**
     * Gets the value of the team property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the team property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getTeam().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link TeamNewsType }
     * 
     * 
     */
    public List<TeamNewsType> getTeam() {
        if (team == null) {
            team = new ArrayList<TeamNewsType>();
        }
        return this.team;
    }

}
